package cn.etynit.fallback;

import cn.etynit.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class GetUserByIdFallback {
    public static User getUserByIdFallback(@PathVariable("id") Long id, Throwable throwable){
        return new User(-1L,"熔断","我断了。。。。");
    }
}
